<?php
	include("../create.php");

	class FunctionTest extends PHPUnit_Framework_TestCase {
		public function testAdd() {
			$tests = [
				3 =>[1, 2],
				4 => [2, 2],
				5 => [3, 2],
				6 => [3, 3],
			];

			foreach($tests as $sum=>$val){
				$this->assertEquals($sum, add($val[0], $val[1]));
			}
		}
	}
